package com.qixin.api.bean;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 充电设备信息
 * </p>
 *
 * @author 张子艺
 * @since 2018-10-21
 */
@TableName("com_equipmentinfo")
public class ComEquipmentinfo extends Model<ComEquipmentinfo> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 设备唯一编码，对同一运营商，保证唯一
     */
	@TableField(value = "EquipmentID")
	private String EquipmentID;
    /**
     * 设备生产商组织机构代码
     */
	@TableField(value = "ManufacturerID")
	private String ManufacturerID;
    /**
     * 设备生产商名称
     */
	@TableField(value = "ManufacturerName")
	private String ManufacturerName;
    /**
     * 设备型号
     */
	@TableField(value = "EquipmentModel")
	private String EquipmentModel;
    /**
     * 设备生产日期
     */
	@TableField(value = "ProductionDate")
	private String ProductionDate;
    /**
     * 1：直流设备
2：交流设备
3：交直流一体设备

     */
	@TableField(value = "EquipmentType")
	private Integer EquipmentType;
    /**
     * 充电设备经度
     */
	@TableField(value = "EquipmentLng")
	private BigDecimal EquipmentLng;
    /**
     * 充电设备纬度
     */
	@TableField(value = "EquipmentLat")
	private BigDecimal EquipmentLat;
    /**
     * 充电设备总功率
     */
	@TableField(value = "Power")
	private BigDecimal Power;
    /**
     * 充电设备名称
     */
	@TableField(value = "EquipmentName")
	private String EquipmentName;
    /**
     * 关联ID
     */
	@TableField(value = "relaction_id")
	private Long relactionId;

	/**
	 *充电设备接口信息
	 */
	@TableField(exist =  false)
	private List<ComConnectorinfo> ConnectorInfos;

	public Long getRelactionId() {
		return relactionId;
	}

	public void setRelactionId(Long relactionId) {
		this.relactionId = relactionId;
	}

	public List<ComConnectorinfo> getConnectorInfos() {
		return ConnectorInfos;
	}

	public void setConnectorInfos(List<ComConnectorinfo> connectorInfos) {
		ConnectorInfos = connectorInfos;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getEquipmentID() {
		return EquipmentID;
	}

	public void setEquipmentID(String EquipmentID) {
		this.EquipmentID = EquipmentID;
	}

	public String getManufacturerID() {
		return ManufacturerID;
	}

	public void setManufacturerID(String ManufacturerID) {
		this.ManufacturerID = ManufacturerID;
	}

	public String getManufacturerName() {
		return ManufacturerName;
	}

	public void setManufacturerName(String ManufacturerName) {
		this.ManufacturerName = ManufacturerName;
	}

	public String getEquipmentModel() {
		return EquipmentModel;
	}

	public void setEquipmentModel(String EquipmentModel) {
		this.EquipmentModel = EquipmentModel;
	}

	public String getProductionDate() {
		return ProductionDate;
	}

	public void setProductionDate(String ProductionDate) {
		this.ProductionDate = ProductionDate;
	}

	public Integer getEquipmentType() {
		return EquipmentType;
	}

	public void setEquipmentType(Integer EquipmentType) {
		this.EquipmentType = EquipmentType;
	}

	public BigDecimal getEquipmentLng() {
		return EquipmentLng;
	}

	public void setEquipmentLng(BigDecimal EquipmentLng) {
		this.EquipmentLng = EquipmentLng;
	}

	public BigDecimal getEquipmentLat() {
		return EquipmentLat;
	}

	public void setEquipmentLat(BigDecimal EquipmentLat) {
		this.EquipmentLat = EquipmentLat;
	}

	public BigDecimal getPower() {
		return Power;
	}

	public void setPower(BigDecimal Power) {
		this.Power = Power;
	}

	public String getEquipmentName() {
		return EquipmentName;
	}

	public void setEquipmentName(String EquipmentName) {
		this.EquipmentName = EquipmentName;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ComEquipmentinfo{" +
			"id=" + id +
			", EquipmentID=" + EquipmentID +
			", ManufacturerID=" + ManufacturerID +
			", ManufacturerName=" + ManufacturerName +
			", EquipmentModel=" + EquipmentModel +
			", ProductionDate=" + ProductionDate +
			", EquipmentType=" + EquipmentType +
			", EquipmentLng=" + EquipmentLng +
			", EquipmentLat=" + EquipmentLat +
			", Power=" + Power +
			", EquipmentName=" + EquipmentName +
			"}";
	}
}
